package com.gsmr.entity;

/**
 * @author 作者 : 黄志新
 * @version 创建时间：2018年5月24日 上午10:38:18 类说明：
 */
public class FrontProcessorState {

	private int id;
	private int frontProcessorId;
	private double cpuUsageRate;
	private double harddiskUsageRate;
	private double memoryUsageRate;
	private int isNormal;
	private String alarmInfo;
	private double portFlowValue;
	private long createTime;
	//private FrontProcessorInfo frontProcessorInfo;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getFrontProcessorId() {
		return frontProcessorId;
	}

	public void setFrontProcessorId(int frontProcessorId) {
		this.frontProcessorId = frontProcessorId;
	}

	public double getCpuUsageRate() {
		return cpuUsageRate;
	}

	public void setCpuUsageRate(double cpuUsageRate) {
		this.cpuUsageRate = cpuUsageRate;
	}

	public double getHarddiskUsageRate() {
		return harddiskUsageRate;
	}

	public void setHarddiskUsageRate(double harddiskUsageRate) {
		this.harddiskUsageRate = harddiskUsageRate;
	}

	public double getMemoryUsageRate() {
		return memoryUsageRate;
	}

	public void setMemoryUsageRate(double memoryUsageRate) {
		this.memoryUsageRate = memoryUsageRate;
	}

	public int getIsNormal() {
		return isNormal;
	}

	public void setIsNormal(int isNormal) {
		this.isNormal = isNormal;
	}

	public String getAlarmInfo() {
		return alarmInfo;
	}

	public void setAlarmInfo(String alarmInfo) {
		this.alarmInfo = alarmInfo;
	}

	public double getPortFlowValue() {
		return portFlowValue;
	}

	public void setPortFlowValue(double portFlowValue) {
		this.portFlowValue = portFlowValue;
	}

	public long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	

	/*public FrontProcessorInfo getFrontProcessorInfo() {
		return frontProcessorInfo;
	}

	public void setFrontProcessorInfo(FrontProcessorInfo frontProcessorInfo) {
		this.frontProcessorInfo = frontProcessorInfo;
	}*/

	@Override
	public String toString() {
		return "FrontProcessorState [id=" + id + ", frontProcessorId=" + frontProcessorId + ", cpuUsageRate="
				+ cpuUsageRate + ", harddiskUsageRate=" + harddiskUsageRate + ", memoryUsageRate=" + memoryUsageRate
				+ ", isNormal=" + isNormal + ", alarmInfo=" + alarmInfo + ", portFlowValue=" + portFlowValue
				+ ", createTime=" + createTime 
				
				+ "]";
	}

	

	

}
